package com.crm.customers.service;

import java.util.List;

import com.crm.customers.model.Paid;

public interface PaidService {
	
	/**
	 * 保存报销
	 * */
	public Paid savePaid(Paid c) throws Exception;
	
	/**
	 * 根据id获取报销信息
	 * */
	public Paid getPaidInfoById(Paid c);
	
	/**
	 * 更新报销状态
	 * */
	public int updatePaidApprovestate(Paid c);
	
	public int updatePaid(Paid p);
	
	/**
	 * 提交报销审批
	 * */
	public int approvePaid(Paid c) throws Exception;
	
	/**
	 * 获取被驳回审批理由
	 * */
	public String getOverruleReason(Paid c);
	
	/**
	 * 根据日期获取报销总额
	 * */
	public Integer getCommMoneyByCreatedate(Paid c);
	
	 /**
	  * 根据关键字 查找报销信息
	  * @return
	  */
	 public  List<Paid> getCallLogList(Paid info, int pageNo, int pageSize);
		/**
		 * 获取报销金额
		 * @param c
		 * @return
		 */
		public int getPaidTotalMoney(Paid c);
}
